package com.atguigu.srb.core;

import org.springframework.boot.autoconfigure.data.redis.RedisProperties;
import redis.clients.jedis.Jedis;

public class RedisJava {
    public static void main(String[] args) {
        //连接本地的 Redis 服务
        Jedis jedis = new Jedis("192.168.21.4",6379);
        String ping = jedis.ping();
        System.out.println(ping);

    }
}
